<?php

namespace Modules\Idoc\Admin;

use Duxravel\Core\UI\Form;
use Duxravel\Core\UI\Table;

class Index extends \Modules\System\Admin\Expend
{

    public string $model = \Duxravel\Core\Model\Base::class;

    protected function table(): Table
    {
        $table = new Table(new $this->model());
        // Generate Table Make
        return $table;
    }

    public function form(int $id = 0): Form
    {
        $form = new Form(new $this->model());
        // Generate Form Make
        return $form;
    }

}
